#include "poolalloc.h"
#include <stdio.h>
#include <string.h>

int main(int argc, char* argv[])
{
	char* pc = (char* )pool_allocate(20);
	memset(pc, 0, 20);
	strcpy(pc, "Hello world!");
	printf("%s\n", pc);
	pool_deallocate(pc, 20);
	pc = NULL;

	return 0;
}